package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 题目类型表
 * </p>
 *
 * @author 
 * @since 2025-11-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("question_type")
public class QuestionType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题型ID
     */
    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    /**
     * 题型名称（如：单选题、多选题、判断题、简答题）
     */
    private String typeName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
